package com.isoftstone.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.isoftstone.entity.CK_Prescription;
import com.isoftstone.entity.C_Medicine;
import com.isoftstone.entity.C_Prescription;
import com.isoftstone.entity.Patient;
import com.isoftstone.entity.W_Medicine;
import com.isoftstone.entity.W_Prescription;

public interface RefundDao {
	public List<Patient> getPatient(@Param("patient_name")String patient_name,@Param("patient_idcard")String patient_idcard);
	
	public List<C_Prescription> getCmPrescription(@Param("guahao_id")String guahao_id);
	public List<W_Prescription> getWmPrescription(@Param("guahao_id")String guahao_id);
	public List<CK_Prescription> getCkPrescription(@Param("guahao_id")String guahao_id);
	
	public boolean ckRefund(@Param("ck_amount_refund")Double ck_amount_refund,@Param("ck_id")String ck_id,@Param("guahao_id")String guahao_id);
	public boolean cmRefund(@Param("cm_amount_refund")Double cm_amount_refund,@Param("cm_id")String cm_id,@Param("guahao_id")String guahao_id);
	public boolean wmRefund(@Param("wm_amount_refund")Double wm_amount_refund,@Param("wm_id")String wm_id,@Param("guahao_id")String guahao_id);
	public boolean insertFee(@Param("cost_id")String cost_id,@Param("ls_price")Double ls_price,@Param("ls_data")Date ls_data);
	public Double ckRefund1(@Param("ck_id")String ck_id,@Param("guahao_id")String guahao_id);
	public Double cmRefund1(@Param("cm_id")String cm_id,@Param("guahao_id")String guahao_id);
	public Double wmRefund1(@Param("wm_id")String wm_id,@Param("guahao_id")String guahao_id);
	
}